package net.dfrz.dao;

import java.util.List;

import net.dfrz.domain.*;

import net.dfrz.domain.Indent;
import net.dfrz.utils.IndentSearchHelper;

public interface IndentDao {

	public List<Indent> loadAll();

	public void add(Indent indent);

	public Indent getIndentByNo(Integer indentNo);

	public void update(Indent indent);

	public IndentOfGood getGoodsInfo(Integer indentNO);

	public void updateGoodsInfoOfIndent(IndentOfGood indentOfGood);

	public Integer countByHelper(IndentSearchHelper indentSearchHelper);

	public List<Indent> loadScopeIndent(IndentSearchHelper indentSearchHelper,
			Integer startIndex, Integer endIndex);
    public void passIndent(Integer indentNo);
    public void passLessIndent(Integer indentNo);
}
